﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace JohnnySins.Controls
{
    public partial class VideoView : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string namePage = Page.GetType().BaseType.Namespace;
            if (namePage.Equals("JohnnySins.Admin"))
            {
                divRename.Visible = lnkDelete.Visible = true;
            }
            else
            {
                divRename.Visible = lnkDelete.Visible = false;
            }
        }

    }
}